<?php
namespace app\api\controller\yop;

use think\Controller;

class Base extends Controller {
    const Host = 'http://39.107.87.17';

    private $cfg = array(
        'merchantId'    => '10006',
        'md5key'        => '4ec0824993065ff9526b7c8a16852258', 
        
        'orderUrl'      => self::Host . '/pay/common/order/index', // 下单地址
        'orderQueryUrl' => self::Host . '/pay/common/order/query', // 查单地址
        'daifuUrl'      => self::Host . '/pay/common/daifu/apply', // 代付申请地址
        'daifuYuEUrl'   => self::Host . '/pay/common/daifu/yue',   // 代付余额查询地址
        'daifuQueryUrl' => self::Host . '/pay/common/daifu/query', // 代付订单查询地址
    );
    
    public function C($cfgName) {
        return $this->cfg[$cfgName];
    }
}
